#include<stdio.h>
int sum(int a, int b, int c)
{
int sum = a + b + c;
printf("%d\n", sum);
return sum;


}
 
int main()
{
	int max;
	int A1 = sum(12, 34, 23);
	int A2=sum(23,11,21);
	int A3 = sum(25, 34, 99);
	int A4 = sum(12, 22, 10);
	if (A1 < A2)
	{
		max = 0 + A2;
	}
	else
	{
		max = 0 + A1;
	}
	if (A3 < max)
	{
		
	}
	else
	{
		max = 0 + A3;
	}
	if (A4 < max)
	{
		
	}
	else
	{
		max = 0 + A4;
	}

	printf("%d", max);





}